package com.p2p.terminal.service.impl;

import com.p2p.terminal.dao.IpDao;
import com.p2p.terminal.dao.MacDao;
import com.p2p.terminal.po.P2pMac;
import com.p2p.terminal.service.MacService;
import com.p2p.terminal.vo.MacCondition;
import com.p2p.terminal.vo.MacErrorCondition;
import com.p2p.terminal.vo.MacErrorResult;
import com.p2p.terminal.vo.MacResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class MacServiceImpl implements MacService {
    @Autowired
    private MacDao macDao;


    @Override
    public MacResult selectP2pMac(MacCondition macCondition) {
        return macDao.selectP2pMac(macCondition);
    }

    @Override
    public MacErrorResult selectP2pMacError(MacErrorCondition macErrorCondition) {
        return macDao.selectP2pMacError(macErrorCondition);
    }
}
